﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class User
    {
        private string userNumber;
        private string userName;
        private string password;
        public string UserNumber
        {
            get { return this.userNumber; }
            set { this.userNumber = value; }
        }
        public string UserName
        {
            get { return this.userName; }
            set { this.userName = value; }
        }
        public string Password
        {
            get { return this.password; }
            set { this.password = value; }
        }
        public void introduce()
        {
            Console.WriteLine("用户名为{0}，账号为{1}，密码为{2}。",this.UserName,this.UserNumber,this.Password);
        }

    }

}
